LIB_PATH=.:`ls ../lib/*.jar`:`ls ../../lib/*.jar`
LIB_PATH=`echo $LIB_PATH | sed 's/ /:/g'`
LIB_PATH=config:$LIB_PATH
echo $LIB_PATH
java -server -Xms1g -Xmx1g -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:./logs/gc.log -cp $LIB_PATH naga.x.proxy.ProxyServer $@>> stdout.log 2>&1 &
echo $! > server.pid
tail -f ./logs/server.log
